CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

INCLUDE_DIRECTORIES(./)

AUX_SOURCE_DIRECTORY(./ SRC_LIST)

ADD_LIBRARY(LIB_CIRBUF_SHARED SHARED ${SRC_LIST})
ADD_LIBRARY(LIB_CIRBUF_STATIC STATIC ${SRC_LIST})

SET_TARGET_PROPERTIES(LIB_CIRBUF_SHARED PROPERTIES OUTPUT_NAME "cirbuf")
SET_TARGET_PROPERTIES(LIB_CIRBUF_STATIC PROPERTIES OUTPUT_NAME "cirbuf")

SET (LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib/cirbuf)